/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
Copyright (c) 2014 Mozilla Corporation
*/

:root {
    --bg-primary-color: #2a2f35;
    --secondary-focus-color: #3b89ee;
    --bg-secondary-color: #2d5fa0;
    --row-color-odd: #2a2f35;
    --row-color-even: #636c85;
    --arm-color: #e69006;
    --arm-focus-color: #d58512;
    --txt-primary-color: #fff;
    --txt-secondary-color: #000;
    --txt-disabled-color: #576d54;
    --a-link-color: #a2a9b2;
}


/*base css */

html {
    background: none;
    min-height: 100%;
}

body {
    /*gradient*/
    background: rgba(76, 76, 76, 1);
    padding: 0;
    color: #fff;
    line-height: normal;
    text-align: left;
}


/*mozdef custom */

.calendar-table,
.available {
    color: black;
}

.pagination-container.text-center {
    padding-bottom: 4%;
}

div.dc-chart {
    padding-bottom: 1%;
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 6rem; /* Footer height */
    letter-spacing: .04em;
    background: var(--txt-secondary-color);
    z-index: 2;
}

footer .footer__link:hover {
    color: inherit;
}

footer .footer__link {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    padding: .9em 1.5em;
    margin: .7em .5em;
    border-radius: 2em;
    line-height: 1;
    margin-right: .75em;
}

footer .footer__link svg {
    display: inline-block;
    vertical-align: middle;
    background: var(--txt-highlight-color);
    border-radius: 100%;
    color: var(--txt-secondary-color);
    padding: .25em;
    box-sizing: initial;
    margin-right: .75em;
}

footer .footer__link:hover {
    display: inline-block;
    vertical-align: middle;
    padding: .9em 1.5em;
    background: var(--txt-secondary-color);
    border-radius: 100%;
    color: var(--txt-primary-color);
    box-sizing: initial;
}

footer .footer__link:hover svg {
    background-color: var(--txt-primary-color);
}

.daterangepicker_input {
    color: black;
}

.upperwhite {
    color: #FFF;
    text-transform: uppercase;
}

.brightURL {
    color: var(--txt-primary-color)
}

caption,
legend {
    color: #FFF;
}

.shadow {
    text-shadow: #000 .7px .7px .7px;
}

.ipaddress {
    color: #FFF;
    font-style: normal;
    font-weight: normal;
}

.headercontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1200px;
    padding-bottom: 2%;
}

#header a.mozilla {
    position: relative;
    float: right;
    display: block;
    height: 40px;
    width: 100px;
    overflow: visible;
}


/* Home Page Styling */

.welcome {
    height: 180px;
    width: 600px;
    margin-left: 25%;
    text-align: center;
    color: var(--txt-primary-color);
    vertical-align: middle;
}

.mozdeflogo {
    width: 500px;
    vertical-align: middle;
}

#bottom-toolbar {
    background: #444444;
    width: 100%;
    height: 40px;
    padding-left: 5px;
    padding-top: 5px;
    position: fixed;
    bottom: 4.8em;
    z-index: 2;
    font-size: 13px;
    color: #fff;
}

#bottom-toolbar .button {
    margin: 3px 3px 3px 0;
    padding: 2px 3px 2px 5px;
    height: 13px;
    line-height: 13px;
}

.tag:hover {
    background: #5bc0de;
    cursor: pointer;
}

.dropdown-menu li {
    color: #000;
}

.dropdown-menu li:hover {
    background: #ccc;
    cursor: pointer;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:active>.dropdown-menu,
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
    right: 162px;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:active>a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.veris-wrapper td {
    color: black
}

.veris-wrapper {
    background-color: rgba(245, 245, 245, .7)
}


/*alerts screen alert color scheme*/

.alert.alert-NOTICE {
    --alert-bg-color: #4a6785;
    --alert-color: white;
}

.alert.alert-WARNING {
    --alert-bg-color: #ffd351;
    --alert-color: black;
}

.alert.alert-CRITICAL {
    --alert-bg-color: #d04437;
    --alert-color: white;
}

.alert.alert-INFO {
    --alert-bg-color: #cccccc;
    --alert-color: black;
}

.alert.alert-ERROR {
    --alert-bg-color: #d04437;
    --alert-color: white;
}

.alert {
    color: var(--alert-color);
    background-color: var(--alert-bg-color);
    text-transform: uppercase;
    display: table-cell;
    font-weight: bold;
}

.alert-row a {
    color: wheat;
}

.row {
    color: white;
}

.modal-header {
    color: var(--txt-secondary-color);
}

.modal-body {
    color: var(--txt-secondary-color);
}

.modal-body .row {
    color: black;
}


/*bootstrap overrides*/

.btn {
    border: 1px outset;
    border-radius: 4px;
    color: var(--txt-primary-color);
    background-color: var(--arm-color);
}

.btn-warning.active,
.btn-warning:active,
.btn-warning:hover,
.open>.dropdown-toggle.btn-warning {
    color: var(--txt-secondary-color);
    background-color: var(--arm-focus-color);
    border-color: var(--arm-color);
}

.btnAlertAcked,
.btnAlertAcked.active,
.btnAlertAcked:active,
.btnAlertAcked:hover>.btn {
    color: var(--txt-disabled-color);
    background-color: var(--arm-focus-color);
    border-color: var(--arm-color);
}

input[type="search"] {
    border-radius: 15px;
}

[class*="span"].centerspan {
    margin: 0 auto;
    float: none;
}

.center {
    margin: 0 auto;
    float: none;
}

.table-striped tbody>tr:nth-child(odd)>td,
.table-striped tbody>tr:nth-child(odd)>th {
    background-color: rgba(30, 87, 153, .7);
}

.table-hover tbody tr:hover>td,
.table-hover tbody tr:hover>th {
    background-color: rgba(30, 87, 153, .5);
}

td {
    color: white;
}

.welcome {
    height: 180px;
    width: 600px;
    margin-left: 25%;
    text-align: center;
    color: var(--txt-primary-color);
    vertical-align: middle;
}

.mozdeflogo {
    width: 500px;
    vertical-align: middle;
}

.tabcontent {
    display: none;
    margin-top: 20px;
}

.tabcontent.active {
    display: block;
}

.tabnav a {
    color: lightblue;
}


/* uncomment this login ui css to hide the local account/password signup options
.logins-wrapper .svgtextlabel {
  font-size: 20px;
  color: white;
}

.loginButtons {
  text-align: right;
  color:white;
}

.login-password-form{
  display:none;
}

.or {
  display: none;
}
*/


/* don't float the 'create account' link*/

#login-buttons #signup-link {
    float: none;
}

#login-buttons {
    line-height: 1;
    padding-top: 15px;
}


.node {
    stroke: black;
    stroke-width: 1.5px;
}

.textlabel {
    stroke-width: .2px;
    stroke: black;
}

.vtagholders {
    padding-left: 1px;
    padding-right: 0px;
}

#header:after {
    content: "";
    display: none;
}

#header a.mozdef {
    color: white;
    text-shadow: #000 5px 3px 3px;
    text-align: center;
    font-size: large;
    margin-top: -.25em;
}

.mozillalogo {
    width: 300px;
    padding-top: 15px;
}

#header label {
    display: inherit;
    cursor: auto;
    margin: .5em;
}


/* Attackers sidenav menu */

sidenav {
    background: var(--bg-primary-color);
    border-right: 15px solid var(--bg-secondary-color);
    text-align: left;
    font-weight: bolder;
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    left: -25em;
    margin: 0em;
    padding-top: 1em;
    display: inline-block;
    line-height: normal;
    -webkit-transform: translateZ(0) scale(1, 1);
    z-index: 3;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
}


/*pull out triangle*/

sidenav:after {
    position: absolute;
    content: ' ';
    width: 0;
    height: 0;
    right: -75px;
    top: 50%;
    border-width: 30px 30px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bg-secondary-color);
}

sidenav ul {
    width: 14em;
    list-style-type: none;
    margin: auto;
    padding: 1em;
}

sidenav div {
    margin: auto;
}

sidenav:hover {
    left: 0;
}

sidenav .filters-col .row {
    margin-top: 45px;
    padding: 0 0.5em;
}

sidenav .reset-filter {
    text-align: center;
    margin-top: 20px;
}

.form-horizontal .form-group {
    margin-left: 5px;
    margin-right: 5px;
    padding-top: 5px;
}

@media screen and (max-width: 1000px) {
    sidenav {
        background: var(--bg-primary-color);
        border-left: 15px solid var(--bg-secondary-color);
        text-align: left;
        font-weight: bolder;
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100%;
        right: -16em;
        margin: 0em;
        padding-top: 1em;
        display: inline-block;
        line-height: normal;
        -webkit-transform: translateZ(0) scale(1, 1);
        z-index: 3;
        -webkit-transition: all 400ms ease;
        -moz-transition: all 400ms ease;
        -ms-transition: all 400ms ease;
        -o-transition: all 400ms ease;
        transition: all 400ms ease;
    }
    sidenav:after {
        right: 230px;
        border-top: 0;
        border-bottom: 0;
        border-right: 0;
        content: none;
    }
    sidenav ul {
        width: 14em;
        list-style-type: none;
        margin: auto;
        padding: 1em;
    }
    sidenav div {
        margin: auto;
    }
    sidenav:hover {
        right: 0;
        width: 230px;
        overflow-y: scroll;
        scrollbar-width: inherit;
        scrollbar-color: var(--bg-secondary-color) black;
    }
    sidenav .filters-col .row {
        margin-top: 25px;
        padding: 0 1.5em;
    }
    sidenav .reset-filter {
        text-align: center;
        margin-top: 20px;
    }
    div.dc-chart {
        float: none;
    }
}

/*menu styling*/

#nav-main {
    text-align: left;
    font-weight: bolder;
    text-transform: uppercase;
    display: inline-block;
    height: 40px;
    line-height: normal;
}

#nav-main ul {
    float: left;
    z-index: 99;
    left: auto;
    margin: 0px;
    padding: 0px;
}

#nav-main li {
    float: left;
    background: none repeat scroll 0% 0% transparent;
    margin: 0px 0px 0px -1px;
    padding: 0px;
    position: relative;
    z-index: 100;
    list-style: none outside none;
}

#nav-main li a,
#nav-main li a:link,
#nav-main li a:visited,
#nav-main li span {
    border-color: #3a3c46;
    color: #fff;
    padding: 20px 10px 10px 10px;
    height: 25px;
    display: block;
    border-style: solid;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-width: 0px 1px;
    z-index: 100;
    position: relative;
    float: left;
    border-image: none;
    text-decoration: none;
}

#nav-main li.last a,
#nav-main li.last span {
    border-right-color: transparent;
}

#nav-main li.last a:hover,
#nav-main li.last a:focus,
#nav-main li.last a:active,
.js #nav-main li.last a:focus,
#nav-main li.hover a {
    border-right-color: #3a3c46;
}

#nav-main li a:hover,
#nav-main li:hover a,
#nav-main li.hover a,
#nav-main li.hover a:link,
#nav-main li.hover a:visited {
    box-shadow: rgba(41, 48, 54, 0.2) 0 0px 0px, inset rgba(0, 0, 0, 0.3) 0 -6px 20px 10px;
    -moz-box-shadow: rgba(41, 48, 54, 0.2) 0 0px 0px, inset rgba(0, 0, 0, 0.3) 0 -6px 20px 10px;
    -webkit-box-shadow: rgba(41, 48, 54, 0.2) 0 0px 0px, inset rgba(0, 0, 0, 0.3) 0 -6px 20px 10px;
    background: #000;
    background: rgba(0, 0, 0, 0);
    transition-duration: 0.1s;
    transition-timing-function: linear;
    transition-delay: 0s;
    transition-property: #6363CE, box-shadow, border-right;
    padding-bottom: 20px;
    outline: 0px none;
}


/* Second-level Menu Items */

#nav-main li:hover ul,
.js #nav-main li.hover ul {
    margin-top: 2.5em;
    left: 0;
    opacity: 1;
    -moz-transition: opacity 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

#nav-main ul ul,
#nav-main ul ul li {
    height: auto;
    border: 0;
    float: none;
    margin-left: 0px;
}

#nav-main ul ul {
    height: auto;
    float: none;
    position: absolute;
    left: -999em;
    opacity: 0;
    z-index: 99;
    width: 190px;
    border-radius: 0px 4px 4px;
    border: 1px solid #3a3c46;
    text-shadow: 1px 1px 0 #000, 0 0 5px #000;
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: rgba(41, 48, 54, 0.2) 0 2px 0px, inset rgba(41, 48, 54, 0.3) 0 -2px 0;
    -moz-box-shadow: rgba(41, 48, 54, 0.2) 0 2px 0px, inset rgba(41, 48, 54, 0.3) 0 -2px 0;
    -webkit-box-shadow: rgba(41, 48, 54, 0.2) 0 2px 0px, inset rgba(41, 48, 54, 0.3) 0 -2px 0;
}

#nav-main ul ul li {
    height: auto;
    float: none;
    border: 0px none;
    box-shadow: inset rgba(41, 48, 54, 0.2) 0 -1px 0 0;
    -moz-box-shadow: inset rgba(41, 48, 54, 0.2) 0 -1px 0 0;
    -webkit-box-shadow: inset rgba(41, 48, 54, 0.2) 0 -1px 0 0;
}

#nav-main ul ul a,
#nav-main ul ul a:link,
#nav-main ul ul a:visited {
    overflow: hidden;
    padding: 3px 10px;
    margin: 0px;
    height: auto;
    float: none;
    display: block;
    font-size: 10px;
    border: 0px none;
    position: relative;
    background: none repeat scroll 0% 0% transparent;
    box-shadow: none;
}

#nav-main ul ul a:hover,
#nav-main ul ul a:focus,
#nav-main ul ul a:active,
.js #nav-main ul ul a:focus,
#nav-main ul li.current ul li a:hover,
#nav-main ul li.current ul li a:focus,
#nav-main ul li.current ul li a:active,
.js #nav-main ul li.current ul li a:focus {
    background: rgba(41, 48, 54, 0.2);
    box-shadow: inset rgba(41, 48, 54, 0.3) 0 2px 0px, 0 0 3px 2px rgba(41, 48, 54, .2) inset;
    -moz-box-shadow: inset rgba(41, 48, 54, 0.3) 0 2px 0px, 0 0 3px 2px rgba(41, 48, 54, .2) inset;
    -webkit-box-shadow: inset rgba(41, 48, 54, 0.3) 0 2px 0px, 0 0 3px 2px rgba(41, 48, 54, .2) inset;
}


/* Currently active menu items */

#nav-main ul li.current span,
#nav-main ul li.current a,
#nav-main ul li.current a:link,
#nav-main ul li.current a:visited {
    border-bottom-width: 1px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    background: #fbfdff;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 100%);
    box-shadow: rgba(152, 178, 201, 0.2) 0 0px 0px, inset rgba(152, 178, 201, 0.3) 0 -2px 0, inset rgba(255, 255, 255, 0.8) 0 -6px 6px 4px;
    -moz-box-shadow: rgba(152, 178, 201, 0.2) 0 0px 0px, inset rgba(152, 178, 201, 0.3) 0 -2px 0, inset rgba(255, 255, 255, 0.8) 0 -6px 6px 4px;
    -webkit-box-shadow: rgba(152, 178, 201, 0.2) 0 0px 0px, inset rgba(152, 178, 201, 0.3) 0 -2px 0, inset rgba(255, 255, 255, 0.8) 0 -6px 6px 4px;
    padding-right: 30px;
    padding-bottom: 15px;
}

#nav-main ul li.current:hover a,
#nav-main ul li.current.hover a,
#nav-main ul li.current a:hover,
#nav-main ul li.current a:focus,
#nav-main ul li.current a:active,
.js #nav-main ul li.current a:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webbkit-box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-bottom: 0;
}

#nav-main ul li.current ul span,
#nav-main ul li.current ul a,
#nav-main ul li.current ul a:link,
#nav-main ul li.current ul a:visited {
    background: none;
    height: auto;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    padding: 8px 10px;
}

.mousepointer {
    cursor: pointer;
}
